package com.sxbbc.common.core.service;

import com.function.common.RestResponse;
import com.sxbbc.common.core.entity.jz.ChickenLogisticsOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sxbbc.common.core.entity.jz.OrderExpDetail;

/**
 * <p>
 * 物流提鸡 服务类
 * </p>
 *
 * @author
 * @since 2020-04-08
 */
public interface IChickenLogisticsOrderService extends IService<ChickenLogisticsOrder> {

    /***
     * 查询物流提鸡列表信息
     * @param page
     * @param chickenLogisticsOrder
     */
//    IPage<ChickenLogisticsOrder> selectChickenLogisticsOrderList(BasePage<ChickenLogisticsOrder> page, ChickenLogisticsOrder chickenLogisticsOrder);

    /**
     * 物流养鸡发货操作
     * 为了区分自营（多仓库发货，扣仓库库存）与非自营
     * @param expDetail
     * @author leehao
     */
    RestResponse handleOrderDeliver(OrderExpDetail expDetail);

    /**
     *物流提鸡 支付页面显示
     * @param id
     * @param cid
     * @param addrid
     * @return
     */
    RestResponse getChickenLogisticsPayInfo(Integer id, Integer cid,Integer addrid);


}
